package model

// 答案
type BgAnswerNumber struct {
	Id          int     `json:"id" form:"id" gorm:"primarykey;AUTO_INCREMENT"`
	AnswerNum   int     `json:"answer_num" form:"answer_num" gorm:"answer_num;comment:最终答案数字，1，2，3，4"`
	SuperNumber int     `json:"super_number" form:"super_number" gorm:"super_number;comment:超级号码"`
	AnswerSize  int     `json:"answer_size" form:"answer_size" gorm:"answer_size;comment:答案数字大小，0代表小，1代表大"`
	AnswerDos   int     `json:"answer_dos" form:"answer_dos" gorm:"answer_dos;comment:答案数字单双，0代表单，1代表双"`
	AnswerFive  int     `json:"answer_five" form:"answer_five" gorm:"answer_five;comment:答案数字五行，1金2木3水4火5土"`
	SumIntegral float64 `json:"sum_integral" form:"sum_integral" gorm:"sum_integral;comment:本期用户下的总积分"`
	Nums        string  `json:"nums" form:"nums" gorm:"nums;comment:答案数字"`
	Time        int     `json:"time"  form:"time" gorm:"time;comment:时间"`
}

// TableName bg_answer_number 表名
func (BgAnswerNumber) TableName() string {
	return "bg_answer_number"
}
